package com.coisshi.base.common.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 删除标记枚举（逻辑删除）
 */
@Getter
public enum DeleteFlagEnum implements BaseEnum {
    NORMAL(0, "正常"),
    DELETED(1, "已删除");

    @EnumValue
    private final int code;
    @EnumValue
    private final String label;
    
    DeleteFlagEnum(int code, String label) {
        this.code = code;
        this.label = label;
    }
    
    @Override
    public int getCode() {
        return this.code;
    }

    @Override
    public String getLabel() {
        return this.label;
    }
} 